This structure abstracts a MBIM transport layer. It is responsible for applying MBIM headers to packets destined for MBIM device services and forwarding them to the device. It is responsible for receiving MBIM packets from the device. On the basis of MBIM headers, it assembles multi-fragment responses and indications and delivers them back to user.
- Parameters
-
| deviceFd |
- File descriptor of device.
|
| shutdownFd |
- Event descriptor. Used to signal read thread to terminate.
|
| writeLock |
- Provides mutual exclusion for write operations.
|
| readThread |
- Thread responsible for reading from device.
|
| transactionId |
- MBIM transaction ID. Upper limit 0xffffffff. Never 0. Increments for each transaction.
|
| transactionIdLock |
- Mutex to make transactionId access thread-safe.
|
| transactionList |
- Head of linked list of outstanding transactions.
|
| transactionListLock |
- Provides thread safety for the transaction list.
|
| pIncomingMessage |
- Private workspace to assemble incoming information fragments.
|
| indicatorList |
- Head of linked list of indicators which are called when MBIM indications are received.
|
| indicatorListLock |
- Provides thread safety for the indicators list.
|